This page last changed on Jun 17, 2008 by brian.

From Mike McCann:

I thought I'd share this little bit of success.

With Matlab 2008a on Windows we are able to interact with SSDS Metadata via the client jar file.
The path to the jar file does need to be added to Matlab's static javaclasspath. Do this by
adding the path to the jar file to C:\Program Files\MATLAB\R2008a\toolbox\local\classpth.txt,
e.g. '$matlabroot/work/java/ssds-services-metadata-client-new-ssds.jar'. Then restart Matlab.

Here's some example commands:

% Import SSDS package
import moos.ssds.services.metadata.*

% Get Home interface
home = moos.ssds.services.metadata.DataProducerAccessUtil.getHome();

% Get Access object
dpAccess = home.create();

% Call methods on the Access object
dpAccess.countFindParentlessDeployments
dpAccess.countFindByName('Back', logical(0))

% Get a specific instrument deployment and print out some properties
dList = dpAccess.findByName( ...
        'Backscatterometer (2006-10-17T00:53:30Z - 8) UUID=edb274f1-9277-11da-a72b-0800200c9a66', ...
        logical(1), 'id', 'ascending', logical(1));
it = dList.iterator;
d = it.next;
d.getName
d.getStartDate
d.getDevice.getMfgSerialNumber

(You may ignore the FileNotFoundException for \opt\ssds\logs\ssds-client.log - Kevin says he'll fix that.)

Document generated by Confluence on Feb 04, 2026 08:56